package com.javasm.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author WangJie
 * @version 1.0
 * @Description:
 * @date: 2020/7/15 19:45
 * @since JDK 1.8
 */
public class AdminMenu implements Serializable {
    private Integer pid;
    private String pname;
    private Integer fid;
    private Integer isshow;
    private String url;
    private String glyphicon;
    private List<AdminMenu> menuList = new ArrayList<>();
    private boolean hasChild;

    @Override
    public String toString() {
        return "AdminMenu{" +
                "pid=" + pid +
                ", pname='" + pname + '\'' +
                ", fid=" + fid +
                ", isshow=" + isshow +
                ", url='" + url + '\'' +
                ", glyphicon='" + glyphicon + '\'' +
                ", menuList=" + menuList +
                ", hasChild=" + hasChild +
                '}';
    }

    public boolean isHasChild() {
        return hasChild;
    }

    public void setHasChild(boolean hasChild) {
        this.hasChild = hasChild;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public Integer getIsshow() {
        return isshow;
    }

    public void setIsshow(Integer isshow) {
        this.isshow = isshow;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getGlyphicon() {
        return glyphicon;
    }

    public void setGlyphicon(String glyphicon) {
        this.glyphicon = glyphicon;
    }

    public List<AdminMenu> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<AdminMenu> menuList) {
        this.menuList = menuList;
    }
}
